package com.demo.core.service;

import cn.hutool.core.map.MapUtil;
import jakarta.enterprise.context.ApplicationScoped;

import java.util.Map;

@ApplicationScoped
public class UserService {


    public Map<Object, Object> user(String username, Integer gender){

        return MapUtil.builder().put("name",username).put("gender",gender==1?"男":"女").build();
    }

}
